package com.petsdar.service;

import com.petsdar.pojo.KeeperAccount;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 * User: heroC
 * Date: 2020/7/4
 * Time: 17:55
 * Description: keeperAccount相关的业务逻辑处理接口
 * Version: V1.0
 */

public interface KeeperAccountService {
    /**
     * 获取所有店长账户信息
     * @return
     */
    List<KeeperAccount> getKeeperAccount();

    /**
     * 添加店长账户
     * @param ktJson 店长账户Json数据
     * @return
     */
    boolean addKeeperAccount(String ktJson);

    /**
     * 通过id删除店长账户
     * @param ktId 店长账户Id
     * @return
     */
    boolean delKeeperAccount(String ktId);

    /**
     * 更新店长账户信息
     * @param ktJson 店长账户Json数据
     * @return
     */
    boolean updateKeeperAccount(String ktJson);
}
